package com.web.wefun.dao;

import com.web.wefun.entity.User;

import java.util.List;

public interface UserMapper {

    List<User> getUserByName(String username);

    List<User> getPhoneByName(String username);

    boolean resetPassword(String password);

    void addUser(User user);

    User selectUserByNameAndPassword(User user);

    int insertUser(User user) ;

    User selectUserById(Integer id);

    List<User> selectAll();

    User selectUserByName(String username);
}
